export default [{
    // 我的
    path: '/mine',
    name: 'mine',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import( /* webpackChunkName: "mine" */ '@/views/mine'),
    children: [
      //   我的订单
      {
        path: 'myOrder',
        name: 'myOrder',
        component: () => import( /* webpackChunkName: "myOrder" */ '@/views/mine/myOrder'),
        meta:{
          allow:false
        }
      },
      // 我的预约
      {
        path: 'myAppointment',
        name: 'myAppointment',
        component: () => import( /* webpackChunkName: "myAppointment" */ '@/views/mine/myAppointment'),
        meta:{
          allow:false
        }
      },
    ]
  },
  // 登录
  {
    path: '/login',
    name: 'login',
    component: () => import( /* webpackChunkName: "login" */ '@/views/mine/login'),
    meta:{
      allow:true
    }
  },
  // 注册
  {
    path: '/signIn',
    name: 'signIn',
    component: () => import( /* webpackChunkName: "signIn" */ '@/views/mine/signIn'),
    meta:{
      allow:true
    }
  },
  //预约详情
  {
    path: '/makesPay/:id',
    name: 'makesPay',
    component: () => import( /* webpackChunkName: "makesPay" */ '@/views/mine/makesPay'),
    props: true
  }
]